package com.designed.pattern.creational.factorymethod.core;

/**
 * @author yifei
 * @description 对数
 * @date 2024/1/11
 **/
public class Log extends Operation{


    @Override
    public double getResult(double numberA, double numberB) {
        return Math.log(numberB)/Math.log(numberA);
    }
}
